package com.yc.jpyy.oadoc.service;

import java.sql.Date;
import java.util.List;
import java.util.Map;


import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.bean.RestResponse;
import com.yc.jpyy.base.util.PageBean;

public interface OADocService {

	int addOADocService(Map<String, Object> paramsMap) throws DataAccessException;

	int updateOADocService(Map<String, Object> paramsMap) throws DataAccessException;

	int updateOADocFileService(Map<String, Object> paramsMap) throws DataAccessException;

	int delOADocService(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findOADocByIDServer(Map<String, Object> paramsMap) throws DataAccessException;

	// 分页查询
	PageBean findOADocService(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数
	int findCountOADocService(Map<String, Object> paramsMap) throws DataAccessException;

	// 分页查询 主子表
	PageBean findOADocToOADocItemService(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数 主子表
	int findCountOADocToOADocItemService(Map<String, Object> paramsMap) throws DataAccessException;

}